package edu.friday.service;

import edu.friday.common.result.Pageable;
import edu.friday.common.result.TableDataInfo;
import edu.friday.model.SysUser;

import java.util.List;

public interface SysUserService {
    TableDataInfo selectUserList(SysUser sysUser, Pageable page);

    int deleteUserByIds(Long[] userIds);

    int insertUser(SysUser sysUser);

    boolean checkUserNameUnique(String userName);

    int updateUser(SysUser user);

    SysUser selectUserById(Long userId);

    SysUser selectUserByUserName(String username);
}
